package com.yiren.backstage.currency.entity;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Generated;
import org.greenrobot.greendao.annotation.Property;
import org.greenrobot.greendao.annotation.Transient;

import java.io.Serializable;
import java.util.List;

/**
 * Time:2021/11/10 16:18
 * Author:xiaozan
 * Description:车辆状态 bean
 */
@Entity(nameInDb = "state_monitor", createInDb = false)
public class StateMonitorEntity {

    @Id
    private String id;

    //车辆状态类型
    private String stateType;

    //车辆监控运算集合
    @Transient
    private List<MonitorCountEntity> monitorCountEntitys;

    @Generated(hash = 2023219842)
    public StateMonitorEntity(String id, String stateType) {
        this.id = id;
        this.stateType = stateType;
    }

    @Generated(hash = 705325233)
    public StateMonitorEntity() {
    }

    public String getId() {
        return this.id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getStateType() {
        return this.stateType;
    }

    public void setStateType(String stateType) {
        this.stateType = stateType;
    }

    public List<MonitorCountEntity> getMonitorCountEntitys() {
        return monitorCountEntitys;
    }

    public void setMonitorCountEntitys(List<MonitorCountEntity> monitorCountEntitys) {
        this.monitorCountEntitys = monitorCountEntitys;
    }
}
